<template>
  <div>
    <table cellpadding="0" cellspacing="0" class="recepit_table2">
      <tbody>
        <tr>
          <td class="tit">单号</td>
          <td>{{ receiptsDetail.code || '' }}</td>
          <td class="tit">发起位置</td>
          <td>{{ receiptsDetail.come_type_name || '' }}</td>
          <td class="tit">回仓位置</td>
          <td>{{ receiptsDetail.type_name || '' }}</td>
          <td class="tit">总数量</td>
          <td>1</td>
        </tr>
        <tr>
          <td class="tit">总金重（g)</td>
          <td>{{ receiptsDetail.total_gold_weight || '' }}</td>
          <td class="tit">总件重（g)</td>
          <td>{{ receiptsDetail.piece_weight || '' }}</td>
          <td class="tit">总标价</td>
          <td>{{ receiptsDetail.total_sticker_price || '' }}</td>
          <td class="tit">总成本</td>
          <td>{{ receiptsDetail.total_cost || '' }}</td>
        </tr>
        <tr>
          <td class="tit">发起人</td>
          <td>{{ receiptsDetail.make_user_name || '' }}</td>
          <td class="tit">状态</td>
          <td>
			  <a :class="[receiptsDetail.status == 2 ? '' : 'ele-text-danger']">{{ receiptsDetail.status_name || '' }}</a>
			
		  </td>
          <td class="tit">回仓原因</td>
          <td>{{ receiptsDetail.receive_cause || '' }}</td>
          <td class="tit">初始操作时间</td>
          <td>{{ receiptsDetail.create_time || '' }}</td>
        </tr>
        <tr>
          <td class="tit">最后操作时间</td>
          <td>{{ receiptsDetail.end_time || '' }}</td>
          <td class="tit">最后操作人</td>
          <td>{{ receiptsDetail.end_user_name || '' }}</td>
          <td class="tit">业务日期</td>
          <td colspan="3">{{ receiptsDetail.business_time || '/' }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script setup>
  import { ref, reactive, unref, onMounted } from 'vue';

  const props = defineProps({
    receiptsDetail: Object
  });
</script>

<style></style>
